package com.fosun.spr.plugin.uuc.helper.mybatis.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SprUucUserExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SprUucUserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andRecCreateTimeIsNull() {
            addCriterion("rec_create_time is null");
            return (Criteria) this;
        }

        public Criteria andRecCreateTimeIsNotNull() {
            addCriterion("rec_create_time is not null");
            return (Criteria) this;
        }

        public Criteria andRecCreateTimeEqualTo(Date value) {
            addCriterion("rec_create_time =", value, "recCreateTime");
            return (Criteria) this;
        }

        public Criteria andRecCreateTimeNotEqualTo(Date value) {
            addCriterion("rec_create_time <>", value, "recCreateTime");
            return (Criteria) this;
        }

        public Criteria andRecCreateTimeGreaterThan(Date value) {
            addCriterion("rec_create_time >", value, "recCreateTime");
            return (Criteria) this;
        }

        public Criteria andRecCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("rec_create_time >=", value, "recCreateTime");
            return (Criteria) this;
        }

        public Criteria andRecCreateTimeLessThan(Date value) {
            addCriterion("rec_create_time <", value, "recCreateTime");
            return (Criteria) this;
        }

        public Criteria andRecCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("rec_create_time <=", value, "recCreateTime");
            return (Criteria) this;
        }

        public Criteria andRecCreateTimeIn(List<Date> values) {
            addCriterion("rec_create_time in", values, "recCreateTime");
            return (Criteria) this;
        }

        public Criteria andRecCreateTimeNotIn(List<Date> values) {
            addCriterion("rec_create_time not in", values, "recCreateTime");
            return (Criteria) this;
        }

        public Criteria andRecCreateTimeBetween(Date value1, Date value2) {
            addCriterion("rec_create_time between", value1, value2, "recCreateTime");
            return (Criteria) this;
        }

        public Criteria andRecCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("rec_create_time not between", value1, value2, "recCreateTime");
            return (Criteria) this;
        }

        public Criteria andRecUpdateTimeIsNull() {
            addCriterion("rec_update_time is null");
            return (Criteria) this;
        }

        public Criteria andRecUpdateTimeIsNotNull() {
            addCriterion("rec_update_time is not null");
            return (Criteria) this;
        }

        public Criteria andRecUpdateTimeEqualTo(Date value) {
            addCriterion("rec_update_time =", value, "recUpdateTime");
            return (Criteria) this;
        }

        public Criteria andRecUpdateTimeNotEqualTo(Date value) {
            addCriterion("rec_update_time <>", value, "recUpdateTime");
            return (Criteria) this;
        }

        public Criteria andRecUpdateTimeGreaterThan(Date value) {
            addCriterion("rec_update_time >", value, "recUpdateTime");
            return (Criteria) this;
        }

        public Criteria andRecUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("rec_update_time >=", value, "recUpdateTime");
            return (Criteria) this;
        }

        public Criteria andRecUpdateTimeLessThan(Date value) {
            addCriterion("rec_update_time <", value, "recUpdateTime");
            return (Criteria) this;
        }

        public Criteria andRecUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("rec_update_time <=", value, "recUpdateTime");
            return (Criteria) this;
        }

        public Criteria andRecUpdateTimeIn(List<Date> values) {
            addCriterion("rec_update_time in", values, "recUpdateTime");
            return (Criteria) this;
        }

        public Criteria andRecUpdateTimeNotIn(List<Date> values) {
            addCriterion("rec_update_time not in", values, "recUpdateTime");
            return (Criteria) this;
        }

        public Criteria andRecUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("rec_update_time between", value1, value2, "recUpdateTime");
            return (Criteria) this;
        }

        public Criteria andRecUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("rec_update_time not between", value1, value2, "recUpdateTime");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIsNull() {
            addCriterion("is_deleted is null");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIsNotNull() {
            addCriterion("is_deleted is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeletedEqualTo(String value) {
            addCriterion("is_deleted =", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotEqualTo(String value) {
            addCriterion("is_deleted <>", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedGreaterThan(String value) {
            addCriterion("is_deleted >", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedGreaterThanOrEqualTo(String value) {
            addCriterion("is_deleted >=", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedLessThan(String value) {
            addCriterion("is_deleted <", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedLessThanOrEqualTo(String value) {
            addCriterion("is_deleted <=", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedLike(String value) {
            addCriterion("is_deleted like", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotLike(String value) {
            addCriterion("is_deleted not like", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIn(List<String> values) {
            addCriterion("is_deleted in", values, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotIn(List<String> values) {
            addCriterion("is_deleted not in", values, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedBetween(String value1, String value2) {
            addCriterion("is_deleted between", value1, value2, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotBetween(String value1, String value2) {
            addCriterion("is_deleted not between", value1, value2, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andLoginNoIsNull() {
            addCriterion("login_no is null");
            return (Criteria) this;
        }

        public Criteria andLoginNoIsNotNull() {
            addCriterion("login_no is not null");
            return (Criteria) this;
        }

        public Criteria andLoginNoEqualTo(String value) {
            addCriterion("login_no =", value, "loginNo");
            return (Criteria) this;
        }

        public Criteria andLoginNoNotEqualTo(String value) {
            addCriterion("login_no <>", value, "loginNo");
            return (Criteria) this;
        }

        public Criteria andLoginNoGreaterThan(String value) {
            addCriterion("login_no >", value, "loginNo");
            return (Criteria) this;
        }

        public Criteria andLoginNoGreaterThanOrEqualTo(String value) {
            addCriterion("login_no >=", value, "loginNo");
            return (Criteria) this;
        }

        public Criteria andLoginNoLessThan(String value) {
            addCriterion("login_no <", value, "loginNo");
            return (Criteria) this;
        }

        public Criteria andLoginNoLessThanOrEqualTo(String value) {
            addCriterion("login_no <=", value, "loginNo");
            return (Criteria) this;
        }

        public Criteria andLoginNoLike(String value) {
            addCriterion("login_no like", value, "loginNo");
            return (Criteria) this;
        }

        public Criteria andLoginNoNotLike(String value) {
            addCriterion("login_no not like", value, "loginNo");
            return (Criteria) this;
        }

        public Criteria andLoginNoIn(List<String> values) {
            addCriterion("login_no in", values, "loginNo");
            return (Criteria) this;
        }

        public Criteria andLoginNoNotIn(List<String> values) {
            addCriterion("login_no not in", values, "loginNo");
            return (Criteria) this;
        }

        public Criteria andLoginNoBetween(String value1, String value2) {
            addCriterion("login_no between", value1, value2, "loginNo");
            return (Criteria) this;
        }

        public Criteria andLoginNoNotBetween(String value1, String value2) {
            addCriterion("login_no not between", value1, value2, "loginNo");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNull() {
            addCriterion("user_name is null");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNotNull() {
            addCriterion("user_name is not null");
            return (Criteria) this;
        }

        public Criteria andUserNameEqualTo(String value) {
            addCriterion("user_name =", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotEqualTo(String value) {
            addCriterion("user_name <>", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThan(String value) {
            addCriterion("user_name >", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("user_name >=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThan(String value) {
            addCriterion("user_name <", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThanOrEqualTo(String value) {
            addCriterion("user_name <=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLike(String value) {
            addCriterion("user_name like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotLike(String value) {
            addCriterion("user_name not like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameIn(List<String> values) {
            addCriterion("user_name in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotIn(List<String> values) {
            addCriterion("user_name not in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameBetween(String value1, String value2) {
            addCriterion("user_name between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotBetween(String value1, String value2) {
            addCriterion("user_name not between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andMobileStateIsNull() {
            addCriterion("mobile_state is null");
            return (Criteria) this;
        }

        public Criteria andMobileStateIsNotNull() {
            addCriterion("mobile_state is not null");
            return (Criteria) this;
        }

        public Criteria andMobileStateEqualTo(String value) {
            addCriterion("mobile_state =", value, "mobileState");
            return (Criteria) this;
        }

        public Criteria andMobileStateNotEqualTo(String value) {
            addCriterion("mobile_state <>", value, "mobileState");
            return (Criteria) this;
        }

        public Criteria andMobileStateGreaterThan(String value) {
            addCriterion("mobile_state >", value, "mobileState");
            return (Criteria) this;
        }

        public Criteria andMobileStateGreaterThanOrEqualTo(String value) {
            addCriterion("mobile_state >=", value, "mobileState");
            return (Criteria) this;
        }

        public Criteria andMobileStateLessThan(String value) {
            addCriterion("mobile_state <", value, "mobileState");
            return (Criteria) this;
        }

        public Criteria andMobileStateLessThanOrEqualTo(String value) {
            addCriterion("mobile_state <=", value, "mobileState");
            return (Criteria) this;
        }

        public Criteria andMobileStateLike(String value) {
            addCriterion("mobile_state like", value, "mobileState");
            return (Criteria) this;
        }

        public Criteria andMobileStateNotLike(String value) {
            addCriterion("mobile_state not like", value, "mobileState");
            return (Criteria) this;
        }

        public Criteria andMobileStateIn(List<String> values) {
            addCriterion("mobile_state in", values, "mobileState");
            return (Criteria) this;
        }

        public Criteria andMobileStateNotIn(List<String> values) {
            addCriterion("mobile_state not in", values, "mobileState");
            return (Criteria) this;
        }

        public Criteria andMobileStateBetween(String value1, String value2) {
            addCriterion("mobile_state between", value1, value2, "mobileState");
            return (Criteria) this;
        }

        public Criteria andMobileStateNotBetween(String value1, String value2) {
            addCriterion("mobile_state not between", value1, value2, "mobileState");
            return (Criteria) this;
        }

        public Criteria andMobileIsNull() {
            addCriterion("mobile is null");
            return (Criteria) this;
        }

        public Criteria andMobileIsNotNull() {
            addCriterion("mobile is not null");
            return (Criteria) this;
        }

        public Criteria andMobileEqualTo(String value) {
            addCriterion("mobile =", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotEqualTo(String value) {
            addCriterion("mobile <>", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThan(String value) {
            addCriterion("mobile >", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThanOrEqualTo(String value) {
            addCriterion("mobile >=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThan(String value) {
            addCriterion("mobile <", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThanOrEqualTo(String value) {
            addCriterion("mobile <=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLike(String value) {
            addCriterion("mobile like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotLike(String value) {
            addCriterion("mobile not like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileIn(List<String> values) {
            addCriterion("mobile in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotIn(List<String> values) {
            addCriterion("mobile not in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileBetween(String value1, String value2) {
            addCriterion("mobile between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotBetween(String value1, String value2) {
            addCriterion("mobile not between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileActiveIsNull() {
            addCriterion("mobile_active is null");
            return (Criteria) this;
        }

        public Criteria andMobileActiveIsNotNull() {
            addCriterion("mobile_active is not null");
            return (Criteria) this;
        }

        public Criteria andMobileActiveEqualTo(String value) {
            addCriterion("mobile_active =", value, "mobileActive");
            return (Criteria) this;
        }

        public Criteria andMobileActiveNotEqualTo(String value) {
            addCriterion("mobile_active <>", value, "mobileActive");
            return (Criteria) this;
        }

        public Criteria andMobileActiveGreaterThan(String value) {
            addCriterion("mobile_active >", value, "mobileActive");
            return (Criteria) this;
        }

        public Criteria andMobileActiveGreaterThanOrEqualTo(String value) {
            addCriterion("mobile_active >=", value, "mobileActive");
            return (Criteria) this;
        }

        public Criteria andMobileActiveLessThan(String value) {
            addCriterion("mobile_active <", value, "mobileActive");
            return (Criteria) this;
        }

        public Criteria andMobileActiveLessThanOrEqualTo(String value) {
            addCriterion("mobile_active <=", value, "mobileActive");
            return (Criteria) this;
        }

        public Criteria andMobileActiveLike(String value) {
            addCriterion("mobile_active like", value, "mobileActive");
            return (Criteria) this;
        }

        public Criteria andMobileActiveNotLike(String value) {
            addCriterion("mobile_active not like", value, "mobileActive");
            return (Criteria) this;
        }

        public Criteria andMobileActiveIn(List<String> values) {
            addCriterion("mobile_active in", values, "mobileActive");
            return (Criteria) this;
        }

        public Criteria andMobileActiveNotIn(List<String> values) {
            addCriterion("mobile_active not in", values, "mobileActive");
            return (Criteria) this;
        }

        public Criteria andMobileActiveBetween(String value1, String value2) {
            addCriterion("mobile_active between", value1, value2, "mobileActive");
            return (Criteria) this;
        }

        public Criteria andMobileActiveNotBetween(String value1, String value2) {
            addCriterion("mobile_active not between", value1, value2, "mobileActive");
            return (Criteria) this;
        }

        public Criteria andEmailIsNull() {
            addCriterion("email is null");
            return (Criteria) this;
        }

        public Criteria andEmailIsNotNull() {
            addCriterion("email is not null");
            return (Criteria) this;
        }

        public Criteria andEmailEqualTo(String value) {
            addCriterion("email =", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotEqualTo(String value) {
            addCriterion("email <>", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThan(String value) {
            addCriterion("email >", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThanOrEqualTo(String value) {
            addCriterion("email >=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThan(String value) {
            addCriterion("email <", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThanOrEqualTo(String value) {
            addCriterion("email <=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLike(String value) {
            addCriterion("email like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotLike(String value) {
            addCriterion("email not like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailIn(List<String> values) {
            addCriterion("email in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotIn(List<String> values) {
            addCriterion("email not in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailBetween(String value1, String value2) {
            addCriterion("email between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotBetween(String value1, String value2) {
            addCriterion("email not between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andEmailActiveIsNull() {
            addCriterion("email_active is null");
            return (Criteria) this;
        }

        public Criteria andEmailActiveIsNotNull() {
            addCriterion("email_active is not null");
            return (Criteria) this;
        }

        public Criteria andEmailActiveEqualTo(String value) {
            addCriterion("email_active =", value, "emailActive");
            return (Criteria) this;
        }

        public Criteria andEmailActiveNotEqualTo(String value) {
            addCriterion("email_active <>", value, "emailActive");
            return (Criteria) this;
        }

        public Criteria andEmailActiveGreaterThan(String value) {
            addCriterion("email_active >", value, "emailActive");
            return (Criteria) this;
        }

        public Criteria andEmailActiveGreaterThanOrEqualTo(String value) {
            addCriterion("email_active >=", value, "emailActive");
            return (Criteria) this;
        }

        public Criteria andEmailActiveLessThan(String value) {
            addCriterion("email_active <", value, "emailActive");
            return (Criteria) this;
        }

        public Criteria andEmailActiveLessThanOrEqualTo(String value) {
            addCriterion("email_active <=", value, "emailActive");
            return (Criteria) this;
        }

        public Criteria andEmailActiveLike(String value) {
            addCriterion("email_active like", value, "emailActive");
            return (Criteria) this;
        }

        public Criteria andEmailActiveNotLike(String value) {
            addCriterion("email_active not like", value, "emailActive");
            return (Criteria) this;
        }

        public Criteria andEmailActiveIn(List<String> values) {
            addCriterion("email_active in", values, "emailActive");
            return (Criteria) this;
        }

        public Criteria andEmailActiveNotIn(List<String> values) {
            addCriterion("email_active not in", values, "emailActive");
            return (Criteria) this;
        }

        public Criteria andEmailActiveBetween(String value1, String value2) {
            addCriterion("email_active between", value1, value2, "emailActive");
            return (Criteria) this;
        }

        public Criteria andEmailActiveNotBetween(String value1, String value2) {
            addCriterion("email_active not between", value1, value2, "emailActive");
            return (Criteria) this;
        }

        public Criteria andMiPsdIsNull() {
            addCriterion("mi_psd is null");
            return (Criteria) this;
        }

        public Criteria andMiPsdIsNotNull() {
            addCriterion("mi_psd is not null");
            return (Criteria) this;
        }

        public Criteria andMiPsdEqualTo(String value) {
            addCriterion("mi_psd =", value, "miPsd");
            return (Criteria) this;
        }

        public Criteria andMiPsdNotEqualTo(String value) {
            addCriterion("mi_psd <>", value, "miPsd");
            return (Criteria) this;
        }

        public Criteria andMiPsdGreaterThan(String value) {
            addCriterion("mi_psd >", value, "miPsd");
            return (Criteria) this;
        }

        public Criteria andMiPsdGreaterThanOrEqualTo(String value) {
            addCriterion("mi_psd >=", value, "miPsd");
            return (Criteria) this;
        }

        public Criteria andMiPsdLessThan(String value) {
            addCriterion("mi_psd <", value, "miPsd");
            return (Criteria) this;
        }

        public Criteria andMiPsdLessThanOrEqualTo(String value) {
            addCriterion("mi_psd <=", value, "miPsd");
            return (Criteria) this;
        }

        public Criteria andMiPsdLike(String value) {
            addCriterion("mi_psd like", value, "miPsd");
            return (Criteria) this;
        }

        public Criteria andMiPsdNotLike(String value) {
            addCriterion("mi_psd not like", value, "miPsd");
            return (Criteria) this;
        }

        public Criteria andMiPsdIn(List<String> values) {
            addCriterion("mi_psd in", values, "miPsd");
            return (Criteria) this;
        }

        public Criteria andMiPsdNotIn(List<String> values) {
            addCriterion("mi_psd not in", values, "miPsd");
            return (Criteria) this;
        }

        public Criteria andMiPsdBetween(String value1, String value2) {
            addCriterion("mi_psd between", value1, value2, "miPsd");
            return (Criteria) this;
        }

        public Criteria andMiPsdNotBetween(String value1, String value2) {
            addCriterion("mi_psd not between", value1, value2, "miPsd");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}